package mk.basic;

public class J03_AmbiuousIF {

	public static void main(String[] args) {
		//애매모호한 IF문
		int x;
		int y;
		int z;
		
		x = 3;
		y = 4;
		z = 2;
        	
		
		if ( x > 2)
			if ( y > 2)
				z = x + y;
			else
				System.out.println("x is" + x);
		System.out.println("z is" + z);
		
		
	
	
	/*	if (x>2)
			{if (y>2)
			{z = x + y; 
			System.out.println("z is" + z);}
			}
			else 
			System.out.println("x is" + x);

		*/
	}

}
